package com.forum.pojo.confession;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Tsing
 */
@TableName("confession_wall_comment")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ConfessionWallComment {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer confessionId;
    private Integer publisherId;
    private String content;
    private String createTime;

    public ConfessionWallComment(Integer confessionId,Integer publisherId,String content){
        this.confessionId=confessionId;
        this.publisherId=publisherId;
        this.content=content;
    }
}